﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Jim.Core ;


public interface IHasId { }

public interface IHasId<T> : IHasId
{
    public T Id { get; set; }
}

/// <summary>
///  基础类ID
/// </summary>
/// <typeparam name="T"></typeparam>
public abstract class EntityBaseId<T> : IHasId<T>
{
    public virtual T Id { get; set; }
}
public class EntityBaseId : EntityBaseId<long> { }
